State police say the gunman who killed himself at Virginia Tech acted alone in the slaying of a campus police officer.